NodeRename Method

Renames a Node object and optionally sets selection and ensures visibility.

Syntax

object.NodeRename(Node, NewNodeText, bSelect)

The NodeRename Method syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
Node Required. A valid Node (MSComctlLib.Node) object.
NewNodeText Required. New node text.
bSelect Optional. Set selection to Node if Rename operation was successful.

Settings

The settings for NodeRename Method are:

Setting Description
True Operation was successful.
False Operation failed. (Trap the Err object for error condition)

Remarks